<template>
  <tiny-tabs v-model="activeName4" tab-style="border-card">
    <tiny-tab-item
      v-for="item in tabs3"
      :key="item.name"
      :title="item.title"
      :name="item.name"
    >
      {{ item.content }}
    </tiny-tab-item>
  </tiny-tabs>
</template>

<script>
import { Tabs, TabItem } from '@opentiny/vue'

export default {
  components: {
    TinyTabs: Tabs,
    TinyTabItem: TabItem
  },
  data() {
    return {
      activeName4: 'navigation1',
      tabs3: [
        {
          name: 'navigation1',
          title: 'Navigation1',
          content: 'Navigation1'
        },
        {
          name: 'navigation2',
          title: 'Navigation2',
          content: 'Navigation2'
        },
        {
          name: 'navigation3',
          title: 'Navigation3',
          content: 'Navigation3'
        },
        {
          name: 'navigation4',
          title: 'Navigation4',
          content: 'Navigation4'
        },
        {
          name: 'navigation5',
          title: 'Navigation5',
          content: 'Navigation5'
        }
      ]
    }
  }
}
</script>
